package CreationModel.PrototypeModel;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-12-05 14:52:00
 */
public class ResumeClient {

    public static void main(String[] args) throws Exception{

        Resume resume1 = new Resume();
        resume1.setUserInfo("王蕾","24","女");
        resume1.setWorkExperience("2015-2018","搜狐畅游");

        Resume resume2 = (Resume) resume1.clone();
        resume2.setWorkExperience("2018-2020","京东");

        Resume resume3 = (Resume) resume1.clone();
        resume3.setWorkExperience("2020-2025","阿里");

        resume1.display();
        resume2.display();
        resume3.display();
    }


}
